<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript" src="../js/vue.js"></script>
</head>

<body>
    <div id="root">
        <school></school>
        <hello></hello>
    </div>

    <script type="text/javascript">

        function Demo() {
            this.a = 1;
            this.b = 2;
        }

        const d = new Demo()

        console.log(Demo.prototype)

        console.log(d)

        Demo.prototype.x = 99

        console.log(d.x)
    </script>

</body>

</html>